package com.edu.exam.enums.curriculum.questionbank;

/**
 * 内容类型枚举
 * 
 * 试题附件的内容类型定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum ContentType {
    QUESTION("QUESTION", "题目图片"),
    OPTION("OPTION", "选项图片"),
    ANSWER("ANSWER", "答案图片"),
    EXPLANATION("EXPLANATION", "解析图片"),
    REFERENCE("REFERENCE", "参考资料"),
    SUPPLEMENT("SUPPLEMENT", "补充材料");

    private final String code;
    private final String description;

    ContentType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}